package com.wesley.responsibilityChain;


/**
 * 替换html标签
 */
public class HTMLFilter implements Filter {

    /**
     * A标签替换成@
     * @param msg
     * @return
     */
    @Override
    public String doFilter(String msg) {
        return msg.replaceAll("a", "@");
    }
}
